-
com.swagLabs.tests.CartPageTest - 1. verifyUserCanRemoveItemsFromCart
7:50:44 PM / 00:00:30:446 Pass
com.swagLabs.tests.CartPageTest - 1. verifyUserCanRemoveItemsFromCart
01.03.2025 7:50:44 PM 01.03.2025 7:51:14 PM 00:00:30:446 · #test-id=1KrushnaPatare.This test verifies that user can remove mutiple items from the cart.Status Timestamp Details Info 7:50:44 PM verifyUserCanRemoveItemsFromCart started executing. Info 7:50:44 PM Opened login page. Info 7:50:45 PM Entered username and password. Info 7:50:54 PM Logged in Successfully! Info 7:51:00 PM Added all products to the cart. Info 7:51:03 PM Opened open cart page. Info 7:51:09 PM Removed all products from the cart. Info 7:51:14 PM Test finished. Pass 7:51:14 PM verifyUserCanRemoveItemsFromCart got successfully executed verifyUserCanRemoveItemsFromCartKrushnaPatare. -
com.swagLabs.tests.CartPageTest - 2. verifyUserCanCheckOut
7:51:17 PM / 00:00:30:075 Pass
com.swagLabs.tests.CartPageTest - 2. verifyUserCanCheckOut
01.03.2025 7:51:17 PM 01.03.2025 7:51:47 PM 00:00:30:075 · #test-id=3KrushnaPatare.This test verifies that user can navigate to checkout page for futher process.Status Timestamp Details Info 7:51:17 PM verifyUserCanCheckOut started executing. Info 7:51:17 PM Opened login page. Info 7:51:18 PM Entered username and password. Info 7:51:27 PM Logged in Successfully! Info 7:51:33 PM Added all products to the cart. Info 7:51:36 PM Opened open cart page. Info 7:51:39 PM Scrolled to checkout button. Info 7:51:47 PM Checkout page opened. Info 7:51:47 PM Test finished. Pass 7:51:47 PM verifyUserCanCheckOut got successfully executed verifyUserCanCheckOutKrushnaPatare. -
com.swagLabs.tests.EndToEndTest - 1. verifyEndToEndPurchasingFunctionality
7:51:51 PM / 00:00:53:317 Fail
com.swagLabs.tests.EndToEndTest - 1. verifyEndToEndPurchasingFunctionality
01.03.2025 7:51:51 PM 01.03.2025 7:52:44 PM 00:00:53:317 · #test-id=5KrushnaPatare.This test verifies complete purchasing functionality cycle.Status Timestamp Details Info 7:51:51 PM verifyEndToEndPurchasingFunctionality started executing. Info 7:51:51 PM Opened login page. Info 7:51:52 PM Entered username and password. Info 7:52:00 PM Logged in Successfully! Info 7:52:06 PM Added all products to the cart. Info 7:52:09 PM Opened open cart page. Info 7:52:12 PM Scrolled to checkout button. Info 7:52:21 PM Checkout page opened. Info 7:52:25 PM Entered firstname, lastname, postalCode. Info 7:52:33 PM Opened checkout complete page. Info 7:52:38 PM Opened checkout success page. Info 7:52:44 PM Opened inventory page. Info 7:52:44 PM Test finished. Pass 7:52:44 PM verifyEndToEndPurchasingFunctionality got successfully executed Fail 7:52:44 PM Test failed due to: Cannot inject @Test annotated Method [verifyCheckoutFinishFunctionality] with [class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String]. For more information on native dependency injection please refer to https://testng.org/#_dependency_injection Fail 7:52:44 PM verifyCheckoutFinishFunctionality got failed Warning 7:52:44 PM Failed to capture screenshot: Session ID is null. Using WebDriver after calling quit()? Build info: version: '4.23.0', revision: '4df0a231af' System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.7' Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [null, screenshot {}] Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 131.0.6778.205, chrome: {chromedriverVersion: 131.0.6778.204 (52183f9e99a..., userDataDir: C:\Users\Admin\AppData\Loca...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:50343}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:50343/devtoo..., se:cdpVersion: 131.0.6778.205, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true} verifyEndToEndPurchasingFunctionalityKrushnaPatare.verifyCheckoutFinishFunctionalityKrushnaPatare. -
com.swagLabs.tests.InventoryPageTest - 1. verifyUserIsAbleToNavigateToSocialMediaSites
7:52:50 PM / 00:00:28:266 Fail
com.swagLabs.tests.InventoryPageTest - 1. verifyUserIsAbleToNavigateToSocialMediaSites
01.03.2025 7:52:50 PM 01.03.2025 7:53:18 PM 00:00:28:266 · #test-id=8KrushnaPatare.This test verifies that user is able to different social media handles of SwagLabs.com.Status Timestamp Details Info 7:52:50 PM verifyUserIsAbleToNavigateToSocialMediaSites started executing. Info 7:52:50 PM Opened login page. Info 7:52:51 PM Entered username and password. Info 7:52:59 PM Logged in Successfully! Info 7:53:00 PM Login successful. Info 7:53:03 PM Scrolled to LinkeInPageButton. Info 7:53:08 PM Opened LinkeIn Page. Fail 7:53:18 PM Test failed due to assertion error: Page title should match. expected [Sauce Labs | LinkedIn] but found [Swag Labs] Info 7:53:18 PM Test finished. Fail 7:53:18 PM Test failed due to: Assertion error occurred: Page title should match. expected [Sauce Labs | LinkedIn] but found [Swag Labs] Fail 7:53:18 PM verifyUserIsAbleToNavigateToSocialMediaSites got failed Info 7:53:18 PM ***** verifyUserIsAbleToNavigateToSocialMediaSitesKrushnaPatare. -
com.swagLabs.tests.InventoryPageTest - 2. verifyUserCanAddItemToCart
7:53:24 PM / 00:00:23:795 Pass
com.swagLabs.tests.InventoryPageTest - 2. verifyUserCanAddItemToCart
01.03.2025 7:53:24 PM 01.03.2025 7:53:48 PM 00:00:23:795 · #test-id=10KrushnaPatare.This test verifies that user can add items to cart he wants to buy.Status Timestamp Details Info 7:53:24 PM verifyUserCanAddItemToCart started executing. Info 7:53:24 PM Opened login page. Info 7:53:24 PM Entered username and password. Info 7:53:33 PM Logged in Successfully! Info 7:53:39 PM Added all products to the cart. Info 7:53:42 PM Opened open cart page. Info 7:53:48 PM Test finished. Pass 7:53:48 PM verifyUserCanAddItemToCart got successfully executed verifyUserCanAddItemToCartKrushnaPatare. -
com.swagLabs.tests.CheckoutCompletepageTest - 1. verifyCheckoutSuccessMessage
7:53:55 PM / 00:00:47:178 Fail
com.swagLabs.tests.CheckoutCompletepageTest - 1. verifyCheckoutSuccessMessage
01.03.2025 7:53:55 PM 01.03.2025 7:54:42 PM 00:00:47:178 · #test-id=12KrushnaPatare.This test verifies that user after order placing process completion, a success message is displayed.Status Timestamp Details Info 7:53:55 PM verifyCheckoutSuccessMessage started executing. Info 7:53:55 PM Opened login page. Info 7:53:55 PM Entered username and password. Info 7:54:04 PM Logged in Successfully! Info 7:54:10 PM Added all products to the cart. Info 7:54:13 PM Opened open cart page. Info 7:54:16 PM Scrolled to checkout button. Info 7:54:25 PM Checkout page opened. Info 7:54:28 PM Entered firstname, lastname, postalCode. Info 7:54:37 PM Opened checkout complete page. Fail 7:54:42 PM Unexpected exception: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='checkout_complete_container']"} (Session info: chrome=131.0.6778.205) For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception Build info: version: '4.23.0', revision: '4df0a231af' System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.7' Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [230f85ff37d4ecd4d38eff9a62863a69, findElement {value=//div[@id='checkout_complete_container'], using=xpath}] Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 131.0.6778.205, chrome: {chromedriverVersion: 131.0.6778.204 (52183f9e99a..., userDataDir: C:\Users\Admin\AppData\Loca...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:50488}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:50488/devtoo..., se:cdpVersion: 131.0.6778.205, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true} Session ID: 230f85ff37d4ecd4d38eff9a62863a69 Info 7:54:42 PM Test finished. Fail 7:54:42 PM Test failed due to: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='checkout_complete_container']"} (Session info: chrome=131.0.6778.205) For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception Build info: version: '4.23.0', revision: '4df0a231af' System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.7' Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [230f85ff37d4ecd4d38eff9a62863a69, findElement {value=//div[@id='checkout_complete_container'], using=xpath}] Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 131.0.6778.205, chrome: {chromedriverVersion: 131.0.6778.204 (52183f9e99a..., userDataDir: C:\Users\Admin\AppData\Loca...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:50488}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:50488/devtoo..., se:cdpVersion: 131.0.6778.205, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true} Session ID: 230f85ff37d4ecd4d38eff9a62863a69 Fail 7:54:42 PM verifyCheckoutSuccessMessage got failed Info 7:54:42 PM ***** verifyCheckoutSuccessMessageKrushnaPatare. -
com.swagLabs.tests.CheckoutPageTest - 1. verifyCheckoutFunctionality
7:54:50 PM / 00:00:42:173 Fail
com.swagLabs.tests.CheckoutPageTest - 1. verifyCheckoutFunctionality
01.03.2025 7:54:50 PM 01.03.2025 7:55:32 PM 00:00:42:173 · #test-id=14KrushnaPatare.This test verifies that user can complete the order placing process.Status Timestamp Details Info 7:54:50 PM verifyCheckoutFunctionality started executing. Info 7:54:50 PM Opened login page. Info 7:54:51 PM Entered username and password. Info 7:54:59 PM Logged in Successfully! Info 7:55:05 PM Added all products to the cart. Info 7:55:09 PM Opened open cart page. Info 7:55:12 PM Scrolled to checkout button. Info 7:55:20 PM Checkout page opened. Info 7:55:24 PM Entered firstname, lastname, postalCode. Info 7:55:32 PM Opened checkout complete page. Fail 7:55:32 PM Test failed due to assertion error: Page Url should match. expected [https://www.saucedemo.com/checkout-complete.html] but found [https://www.saucedemo.com/checkout-step-two.html] Info 7:55:32 PM Test finished. Fail 7:55:32 PM Test failed due to: Assertion error occurred: Page Url should match. expected [https://www.saucedemo.com/checkout-complete.html] but found [https://www.saucedemo.com/checkout-step-two.html] Fail 7:55:32 PM verifyCheckoutFunctionality got failed Info 7:55:32 PM ***** verifyCheckoutFunctionalityKrushnaPatare. -
com.swagLabs.tests.CheckoutPageTest - 1. verifyCheckoutFunctionality
7:55:39 PM / 00:00:41:976 Pass
com.swagLabs.tests.CheckoutPageTest - 1. verifyCheckoutFunctionality
01.03.2025 7:55:39 PM 01.03.2025 7:56:21 PM 00:00:41:976 · #test-id=16KrushnaPatare.This test verifies that user can complete the order placing process.Status Timestamp Details Info 7:55:39 PM verifyCheckoutFunctionality started executing. Info 7:55:39 PM Opened login page. Info 7:55:40 PM Entered username and password. Info 7:55:48 PM Logged in Successfully! Info 7:55:54 PM Added all products to the cart. Info 7:55:58 PM Opened open cart page. Info 7:56:01 PM Scrolled to checkout button. Info 7:56:09 PM Checkout page opened. Info 7:56:13 PM Entered firstname, lastname, postalCode. Info 7:56:21 PM Opened checkout complete page. Info 7:56:21 PM Test finished. Pass 7:56:21 PM verifyCheckoutFunctionality got successfully executed verifyCheckoutFunctionalityKrushnaPatare. -
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
7:56:28 PM / 00:00:09:124 Pass
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
01.03.2025 7:56:28 PM 01.03.2025 7:56:38 PM 00:00:09:124 · #test-id=18KrushnaPatare.This test verifies the login functionality with testdata provided.Status Timestamp Details Info 7:56:28 PM checkLoginFunctionality started executing. Info 7:56:29 PM Parameters of testcase:
username = standard_user
password = secret_sauce
password = passInfo 7:56:29 PM Opened login page. Info 7:56:29 PM Entered username and password. Info 7:56:38 PM Logged in Successfully! Info 7:56:38 PM Test finished Pass 7:56:38 PM checkLoginFunctionality got successfully executed checkLoginFunctionalityKrushnaPatare. -
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
7:56:44 PM / 00:00:04:147 Fail
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
01.03.2025 7:56:44 PM 01.03.2025 7:56:48 PM 00:00:04:147 · #test-id=20KrushnaPatare.This test verifies the login functionality with testdata provided.Status Timestamp Details Info 7:56:44 PM checkLoginFunctionality started executing. Info 7:56:44 PM Parameters of testcase:
username = locked_out_user
password = secret_sauce
password = passInfo 7:56:44 PM Opened login page. Info 7:56:45 PM Entered username and password. Info 7:56:48 PM Logged in Successfully! Fail 7:56:48 PM Test failed due to exception: Page Url should match. expected [https://www.saucedemo.com/inventory.html] but found [https://www.saucedemo.com/] Info 7:56:48 PM Test finished Fail 7:56:48 PM Test failed due to: null Fail 7:56:48 PM checkLoginFunctionality got failed Info 7:56:48 PM ***** checkLoginFunctionalityKrushnaPatare. -
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
7:56:54 PM / 00:00:09:107 Pass
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
01.03.2025 7:56:54 PM 01.03.2025 7:57:03 PM 00:00:09:107 · #test-id=22KrushnaPatare.This test verifies the login functionality with testdata provided.Status Timestamp Details Info 7:56:54 PM checkLoginFunctionality started executing. Info 7:56:54 PM Parameters of testcase:
username = problem_user
password = secret_sauce
password = passInfo 7:56:54 PM Opened login page. Info 7:56:55 PM Entered username and password. Info 7:57:03 PM Logged in Successfully! Info 7:57:03 PM Test finished Pass 7:57:03 PM checkLoginFunctionality got successfully executed checkLoginFunctionalityKrushnaPatare. -
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
7:57:09 PM / 00:00:14:199 Pass
com.swagLabs.tests.LoginPageTest - 1. checkLoginFunctionality
01.03.2025 7:57:09 PM 01.03.2025 7:57:23 PM 00:00:14:199 · #test-id=24KrushnaPatare.This test verifies the login functionality with testdata provided.Status Timestamp Details Info 7:57:09 PM checkLoginFunctionality started executing. Info 7:57:09 PM Parameters of testcase:
username = performance_glitch_user
password = secret_sauce
password = passInfo 7:57:09 PM Opened login page. Info 7:57:10 PM Entered username and password. Info 7:57:23 PM Logged in Successfully! Info 7:57:23 PM Test finished Pass 7:57:23 PM checkLoginFunctionality got successfully executed checkLoginFunctionalityKrushnaPatare.
Started
03/01/2025 07:50:38 PM
Ended
03/01/2025 07:57:24 PM
Tests Passed
7
Tests Failed
5
Tests
Steps
Log events
Timeline
System/Environment
| Name | Value |
|---|---|
| Application URL | https://www.saucedemo.com |
| Browser Name | set this from config.properties |
| Username | Admin |
| Operating System | Windows 10 |
| OS Version | 10.0 |
| OS Architecture | amd64 |
| Java Version | 17.0.7 |